<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>东莞新华投票系统v1.0</title>
    <style type="text/css">
        #wrapper{
            width:941px;
            margin: 0 auto;
        }

        #content{
            margin:0 auto;
            margin-top: 30px;
            font-family: "微软雅黑";
            border:10px solid #24AF92;
            width: 500px;
            height: 400px;
        }

        #content h4{
            margin:0;
            padding-top: 5px;
            background-color:#F3D37A;
            height: 30px;
            border-bottom: 2px dashed gray;
            color: gray;
            text-align: center;
        }
        #content p{
            font-size: 16px;
            text-indent: 2em;
        }
    </style>
</head>
<body>
<?php
require('config.php');
$viID = $_GET['action'];
//$viID = 30;
$select_query = "select title,viDES from vote_item where viID='$viID'";
$result_query = mysql_query($select_query) or die(mysql_error());
$row = mysql_fetch_array($result_query);


?>
<div id="wrapper">
    <div id="content">
        <h4><?php echo $row['title']; ?>事迹详细介绍</h4>
        <p><?php echo $row['viDES'];?></p>
    </div>
</div>
</body>
</html>
